package com.ruoyi.party.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户数据对象 party_person
 * 
 * @author ruoyi
 * @date 2024-07-07
 */
public class PartyPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品id */
    private Long id;

    /** 所属分类id */
    @Excel(name = "所属分类id")
    private Long categoryId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String username;

    /** 用户主图片 */
    @Excel(name = "用户主图片")
    private String userimage;

    /** 用户标题 */
    @Excel(name = "用户标题")
    private String title;

    /** 用户描述 */
    @Excel(name = "用户描述")
    private String description;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 美妆技巧 */
    @Excel(name = "美妆技巧")
    private String skill;

    /** 用户案例富文本 */
    @Excel(name = "用户案例富文本")
    private String richText;

    /** 用户被查看次数 */
    @Excel(name = "用户被查看次数")
    private Long times;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setUserimage(String userimage) 
    {
        this.userimage = userimage;
    }

    public String getUserimage() 
    {
        return userimage;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setSkill(String skill) 
    {
        this.skill = skill;
    }

    public String getSkill() 
    {
        return skill;
    }
    public void setRichText(String richText) 
    {
        this.richText = richText;
    }

    public String getRichText() 
    {
        return richText;
    }
    public void setTimes(Long times) 
    {
        this.times = times;
    }

    public Long getTimes() 
    {
        return times;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("username", getUsername())
            .append("userimage", getUserimage())
            .append("title", getTitle())
            .append("description", getDescription())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .append("skill", getSkill())
            .append("richText", getRichText())
            .append("times", getTimes())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
